<template>
  <button v-why:info.aaa.bbb="{ name: 'zhangqi' }">click</button>
</template>

<script>
export default {
  directives: {
    why: {
      created(el, bindings, vnode, preVnode) {
        console.log(el);
        console.log(bindings);
        console.log(vnode);
        console.log(preVnode);
      },
    },
  },
};
</script>

<style scoped></style>
